package com.cn.demo4.dao;

import com.cn.demo4.model.CompanyModel;

import java.util.List;

public interface CompanyDao {
    List<CompanyModel> findAll(CompanyModel companyModel);

    int add(CompanyModel companyModel);

    CompanyModel findById(Integer id);

    Integer update(CompanyModel companyModel);

    int del(Integer id);

    List<CompanyModel> getCompanyModelListForHome();

    int getCount(CompanyModel companyModel);
}
